package com.zygh.policeasset.config;

import java.util.concurrent.ScheduledFuture;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/config/ScheduledTask.class */
public class ScheduledTask {
    volatile ScheduledFuture future;

    public void cancel() {
        ScheduledFuture future = this.future;
        if (future != null) {
            future.cancel(true);
        }
    }
}